from flask_sqlalchemy import SQLAlchemy

db = SQLAlchemy()


def init_db(app) -> None:
    """
    sqlalchemy 初始化
    :param app: flask 实例
    """
    db.init_app(app)
